﻿namespace EasyGo.Data.Dao
{
    using EasyGo.Domain.Model;
    using System.Collections.Generic;

    public interface ICompanyDao
    {
        void Delete(int id);

        int CreateCompany(Company company);

        IEnumerable<Company> GetAllCompanies();

        Company GetById(int id);

        void UpdateCompany(Company company);
    }
}
